/*
 ============================================================================
 Name		: TerraWSApplication.cpp
 Author	  : Jan Sanchez
 Copyright   : For testing purposes only!
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "TerraWS.hrh"
#include "TerraWSDocument.h"
#include "TerraWSApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CTerraWSApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CTerraWSApplication::CreateDocumentL()
	{
	// Create an TerraWS document, and return a pointer to it
	return CTerraWSDocument::NewL(*this);
	}

// -----------------------------------------------------------------------------
// CTerraWSApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CTerraWSApplication::AppDllUid() const
	{
	// Return the UID for the TerraWS application
	return KUidTerraWSApp;
	}

// End of File
